package swu.cx.finalproject

import android.app.Activity
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.View
import kotlinx.android.synthetic.main.activity_q_q_space.*

class RightContact : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_q_q_space)
        right_left.setOnClickListener {
            startActivity(Intent(this,LeftContact::class.java))
        }

        right_middle.setOnClickListener {
            startActivity(Intent(this,MiddleContact::class.java))
        }
        //设置 “好友动态的点击事件”
        hao_you_dong_tai.setOnClickListener {
            startActivity(Intent(this,dongtai::class.java))
        }
    }
    override fun onBackPressed() {
        startActivity(Intent(this,MainActivity::class.java))
    }
}